package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  商品分类信息
 *
 * @author : Chen Xiao Lin
 * @Date : 2023/4/2 15:47
 **/

@Builder
@Data
@TableName("product_category")
@AllArgsConstructor
@NoArgsConstructor
public class CategoryDomain extends BaseDomain {


    private String name;

    private Long pid;

    private Integer sort;

    private  Boolean isEnabled;

    private String img;

    @TableLogic
    public Boolean deleted;
}
